<!DOCTYPE html>
<html>
<body>
<template id="target-template">
<svg width="90" height="90" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<linearGradient class="target" />
</svg>
</template>
<script src="resources/interpolation-test.js"></script>
<script>
'use strict';
assertAttributeInterpolation({
  property: 'href',
  from: '#A',
  to: '#B'
}, [
  {at: -0.4, is: '#A'},
  {at: 0, is: '#A'},
  {at: 0.2, is: '#A'},
  {at: 0.6, is: '#B'},
  {at: 1, is: '#B'},
  {at: 1.4, is: '#B'}
]);
</script>
</body>
</html>
